package com.sdweizan.sdk.bytedance.bean.customer;

import com.alibaba.fastjson.annotation.JSONField;
import com.sdweizan.sdk.bytedance.bean.BdBaseRequest;
import com.sdweizan.sdk.bytedance.constants.BdConstants;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BdCustomerMessage implements BdBaseRequest {
  @JSONField(name = "open_id")
  private String openId;

  @JSONField(name = "msg_type")
  private String msgType;

  @JSONField(name = "content")
  private String content;

  @JSONField(name = "pic_url")
  private String picUrl;

  @Override
  public String requestUri() {
    return BdConstants.API_HOST + "/api/apps/message/custom/send";
  }
}
